package com.example.tests;

import org.testng.annotations.Test;

public class ContactEdit extends BaseClass{
	
	
	@Test	
	public void testContactEdit() {
		app.getNavigationHelper().openMainPage();
		app.getNavigationHelper().goToHomePage();
		ContactData contact = new ContactData();
		contact.search = "horov";
		app.getContactHelper().searchContact(contact);
		app.getContactHelper().choiceContact(1);
		app.getContactHelper().initEditContact();
		contact.firstName = "Dmitriy";
		contact.mobile = "+79261111111";
		app.getContactHelper().fillContactForm(contact);		
		app.getContactHelper().updateContact();
		app.getContactHelper().returnToHomePage();
	
		}
}
